home *** CD-ROM | disk | FTP | other *** search
/ PCMania 30 / PCMania CD30.iso / doom / doom2 / alien / install2.bat < prev   
Encoding:
DOS Batch File  |  1994-11-02  |  3.9 KB  |  157 lines

  1. echo OFF
  2.  
  3. rem INSTALL      for v1.666
  4.  
  5.  
  6.  
  7. echo.      ************************************
  8. echo.      *    ALIENS Total Conversion       *
  9. echo.      *                                  *
  10. echo.      *        by Justin Fisher          *
  11. echo.      *                                  *
  12. echo.      ************************************
  13. echo.
  14. echo.   Secret level by Richard Love
  15. echo.   Installation by Olivier Montanuy
  16. echo.   Doom 2 Conversion by Jason Mezzacca
  17. echo.
  18. echo.   ************ Good News *************
  19. echo.   You won't need to uninstall ALIEN TC
  20. echo.   DOOM will still work as usual
  21. echo.
  22. echo.   ************ Bad News ****************
  23. echo.   Installation still requires about 2 additional megs
  24. echo.
  25. echo.   Beside DeHackEd this install uses 
  26. echo.   DeuSF, a powerfull tool to regenerate sprite and flats PWADS. 
  27. echo.   Look for the last version of DeuTex/DeuSF on infant2.   
  28. echo.
  29. pause
  30.  
  31. echo This batch is for Registered version:
  32. echo.   *** DOOM II ver. 1.666 ***
  33. echo. hit CTRL-C now  if this is incorrect.
  34. pause
  35. ren doom2.wad doom.wad
  36. echo. DOOM2.EXE and DOOM2.WAD must be in that directory
  37.  
  38. pause
  39. goto save
  40. :missfile
  41. echo. Error: A file is Missing from the archives
  42. exit
  43. :fail
  44. echo Error: Can't Find DOOM files
  45. exit
  46.  
  47. :save
  48. if not exist DEHACKED.INI goto save2
  49. echo WARNING: existing file DEHACKED.INI could compromise
  50. echo that installation.  Temporarily renaming to DINI.INI.
  51. ren dehacked.ini dini.ini
  52. exit
  53.  
  54. :save2
  55.  
  56. if not exist DOOM2.EXE goto fail
  57. if not exist DOOM.WAD goto fail
  58. echo Temporarily saving DOOM2.EXE as DOOMC.EXE
  59. echo This uses about 600K of disk space
  60. pause
  61. copy DOOM2.EXE DOOMC.EXE
  62.  
  63. echo Checking ATC2WAD.WAD
  64. if not exist ATC2WAD.WAD goto missfile
  65. echo Checking ATC2SND.WAD
  66. if not exist ATC2SND.WAD goto missfile
  67. echo Checking ATC2SF.WAD
  68. if not exist ATC2SF.WAD goto missfile
  69. echo Checking DEHACKED.EXE
  70. if not exist DEHACKED.EXE goto missfile
  71.  
  72.  
  73.  
  74. rem
  75. rem V1.666 V2
  76. rem
  77. echo Checking ATC2.DEH
  78. if not exist ATC2.DEH goto missfile
  79. echo applying patch for 1.666
  80. pause
  81. Dehacked -load ATC2.DEH
  82. if not ERRORLEVEL 0             goto failp
  83. goto rename
  84.  
  85. :failp
  86. ren DOOMC.EXE DOOM2.EXE
  87. echo *********
  88. echo * ERROR *
  89. echo *********
  90. echo An error occured.
  91. echo  Do you use the right DOOM version?
  92. echo  Is your DOOM version registered?
  93. echo  did you have enough disk space?
  94. exit
  95.  
  96.  
  97.  
  98. :rename
  99. echo Changing .EXE name
  100. pause
  101. if exist ALIENTC.EXE del ALIENTC.EXE
  102. ren DOOM2.EXE ALIENTC.EXE
  103. ren DOOMC.EXE DOOM2.EXE
  104. echo Modified DOOM2.EXE is now ALIENTC.EXE
  105.  
  106. rem
  107. rem Sprite and Flat PWAD
  108. rem  install compatible 1.2 and 1.666 and maybe DOOM2
  109. rem
  110. echo Creating new sprite and flat PWAD with DeuSF
  111. echo This uses about 1.5 more meg of disk space.
  112. pause
  113. echo Checking atc2sf.wad
  114. if not exist atc2sf.wad goto missfile
  115. echo Appending sprites&flats to alitcsf.wad.
  116. echo This may take a minute or so.
  117.  
  118. rem REM those lines if you do not want to append DOOM sprites
  119. rem to alitcsf.wad
  120. rem
  121. DeuSF -app atc2sf.wad > atc2sf.log
  122. if not ERRORLEVEL 0             goto failsf
  123.  
  124.  
  125. rem Restoration
  126. rem
  127. echo To restore AlienTC sprite file:  DeuSF -res alitcsf.wad
  128. goto fini
  129.  
  130. :failsf
  131. echo *********
  132. echo * ERROR *
  133. echo *********
  134. echo An error occured during sprite and flat generation.
  135. echo Did you have enough disk space?
  136. echo Else that could mean there was a bug in my DeuSF.EXE.
  137. echo If this is confirmed, mail me your bitter
  138. echo disapointment together with the file ATC2SF.LOG
  139. echo    Really sorry for the inconvenience.
  140. echo      O.Montanuy (montanuy@dmi.ens.fr)
  141. exit
  142.  
  143.  
  144. :fini
  145. ren doom.wad doom2.wad
  146. if exist dini.ini ren dini.ini dehacked.ini
  147. echo. finished!
  148. echo. PWAD Files:
  149. echo.   atc2tex.wad = missing texture patches for D2
  150. echo.   atc2snd.wad = sounds
  151. echo.   atc2wad.wad = levels demo graphics patches
  152. echo.   atc2sf.wad = all the sprites flats
  153. echo.
  154. echo. To play, type ALIEN.  To play the bonus levels
  155. echo. type ALIENB.
  156.  
  157.